package servlets;

import javax.mail.PasswordAuthentication;

public class SMTPAuthenticator extends javax.mail.Authenticator{
    
	   public PasswordAuthentication getPasswordAuthentication() {
	      String username = "javatrainingmsg@gmail.com";
	      String password = "msgMSGmsg";
	      return new PasswordAuthentication(username, password);
	   }
	}